﻿using System;
using Artemis;
using libtcod;

namespace RL.Components
{
    public enum SpatialFormType
    {
        Player
    }
    public class SpatialForm : Component
    {
        public readonly char Form;
        public readonly TCODColor Color;
        public SpatialForm(char form, TCODColor color)
        {
            Form = form;
            Color = color;
        }
        public SpatialForm(SpatialFormType type)
        {            
            switch (type)
            {
                case SpatialFormType.Player:
                    Form = '@';
                    Color = TCODColor.white;
                    break;
                default:
                    throw new Exception("Spatial form unknown.");
            }
        }
    }
}